<?php

namespace app\index\validate;

use app\common\validate\BaseValidate;

class UserValidate extends BaseValidate
{
    protected $rule = [
        "age|年龄" => 'require',
        "sex|性别" => 'require',
        "nick|姓名" => 'require',
    ];
    
    protected $message = [
    ];
    
    
    protected $scene = [
        "update" => ["nick","avatar"],
    ];
}